package com.cskaoyan.service.admin;

import com.cskaoyan.bean.MarketTopic;
import com.cskaoyan.model.admin.vo.AdReadTopicVo;
import com.cskaoyan.model.admin.vo.AdTopicReadVo;
import com.cskaoyan.model.admin.bo.ListBo;
import com.cskaoyan.model.admin.vo.AdBaseData;

import java.util.Map;

public interface TopicService {
    AdBaseData list(ListBo listBo,MarketTopic marketTopic);

    MarketTopic update(MarketTopic marketTopic);

    Integer delete(MarketTopic marketTopic);

//    AdTopicReadVo read(Integer id);

    MarketTopic create(MarketTopic marketTopic);

    int batchDelete(Map<Object,Integer[]> map);

    AdReadTopicVo topicRead(Integer id);
}
